package per.wsj.mmap;

public class JniUtil {
    static {
        System.loadLibrary("mmap");
    }
    /**
     * 开启共享映射
     * @param absolutePath
     */
    public native static void mmapOpen(String absolutePath);

    /**
     * 关闭共享映射
     */
    public native static void mmapClose();

    /**
     * 写入数据
     * @param content
     */
    public native static void mmapWrite(String content);
}
